package com.abl._new._01_switch;

public class _TestSwitch {
    public static void main(String[] args) {
        int a = 1;
        String message = switch (a) {
            case 1, 2, 3 -> "1,2,3";
            case 4, 5, 6 -> {
                System.out.println("22222");
                yield "4,5,6";
            }
            default -> "default";
        };
        System.out.println(message);
    }
}
